<%@page import="com.wanmait.travel.vo.UserPay"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.util.Date"%>
<%@page import="com.wanmait.travel.vo.Userinfo"%>
<%@page import="com.wanmait.travel.vo.Comment"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
    String path=request.getServletContext().getContextPath();
    List<UserPay>  userPays =(List<UserPay>)request.getAttribute("userPays");
    %>
<meta charset="UTF-8">
<jsp:include page="/managerinc/header.jsp"></jsp:include>
<title>用户购物记录</title>
<section>
<h2>用户管理</h2>
<form action="<%=path%>/ManagerController?action=searchComment" method="post">
<input type="text" value="" name="searchComment">
<input type="submit" value="搜索" >
</form>
<table width="100%" height="80px" border="1">
<tr>
<th>用户昵称</th>
<th>购票时间</th>
<th>景点名称</th>
<th>景点票类型</th>
<th>价格</th>
<th>数量</th>
<th>选项</th>
</tr>
<%
for(int i =0;userPays!=null&&i<userPays.size();i++){
	UserPay userPay=userPays.get(i);
%>
<tr>
<th><%=userPay.getNickname() %></th>
<th><%=userPay.getPayTime() %></th>
<th><%=userPay.getScenicName() %></th>
<th><%=userPay.getTickitTypeName() %></th>
<th><%=userPay.getPrice() %></th>
<th><%=userPay.getNum() %></th>
<th>
用户画像、数据搜集
</th>
</tr>
	<%} %>
</table>
</section>
<jsp:include page="/managerinc/footer.jsp"></jsp:include>